package com.rn.ddd.interfaces.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * 创建订单Query
 *
 * @author 然诺
 * @date 2022/3/26
 */
@Data
@Accessors(chain = true)
public class OrderCreateQuery {

    @ApiModelProperty(value = "订单名称", required = true)
    @NotBlank(message = "orderName cannot be blank")
    private String orderName;

    @ApiModelProperty(value = "订单备注")
    private String orderRemark;
}
